package com.cloudkinto.service.dic.vo.dicBusinessItem;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangyy
 * @date 2020/5/19 15:53
 * @description:
 */
@Data
@ApiModel
public class DicBusinessItemAddReq {

    /**
     * t_dic_business表uuid
     */
    @ApiModelProperty("主id")
    @NotNull(message = "请选择大项")
    private Long dicBusinessId;

    /**
     * 字典明细名称
     */
    @ApiModelProperty("字典项的值")
    @NotBlank(message = "请输入字典项的值")
    private String dicItemValue;
}
